home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / scripts / makefile.fat < prev   
Makefile  |  1996-11-06  |  466b  |  24 lines

  1. # Makefile for converting the scripts to FAT format.
  2. # (c) 1996, Klaus Gebhardt
  3.  
  4. SUBMAKE = cd %p & make -f ../makefile.fat sub & cd ..
  5.  
  6. CONVERT = sed -f ../fat.sed %p > temp & mv temp %p
  7.  
  8.  
  9.  
  10. SUBDIRS = audio general set control image misc signal stat \
  11.     elfun io plot specfun strings la polynom specmat time
  12.  
  13. SCRIPTS = $(notdir $(wildcard *.m))
  14.  
  15.  
  16.  
  17. all:
  18.     @for %p in ($(SUBDIRS)) do @($(SUBMAKE))
  19.  
  20.  
  21.  
  22. sub:
  23.     @for %p in ($(SCRIPTS)) do @($(CONVERT))
  24.